package com.example.mapper;

import com.example.pojo.Coach;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CoachMapper {
    Coach selectCoachById(int id);

    List<Coach> selectCoachByName(String name);

    int insertCoach(Coach coach);

    List<Coach> selectAllCoaches();

    int deleteCoachById(int id);

    int updateCoach(Coach coach);

    int updateMark(Coach coach);
}
